/* 
 E-commerce dashboard custom js file
 */
$(document).ready(function () {
    $(function () {
        /*Line chart*/
        var chart = c3.generate({
            bindto: '#lineChart',
            data: {
                columns: [
                    ['金色小椅', 100, 56, 76, 50, 106, 145],
                    ['Samsung', 75, 35, 94, 65, 243, 167],
                    ['原木椅', 75, 35, 94, 65, 243, 167],
                    ['Apple', 53, 61, 102, 195, 156, 223]
                ],
                colors: {
                    金色小椅: '#23b7e5',
                    Samsung: '#4CAF50',
                    原木椅: '#7b9c7d',
                    Apple: '#7986CB'
                }
            }
        });
        //page view chart

        $('#datatable1').dataTable();
    });
});
